<?php if(!logged_in()) { ?>
<div class="header_login">
	<a rel="nofollow" href="<?php echo site_url('user/login'); ?>">登录</a>
	<a rel="nofollow" href="<?php echo site_url('user/register'); ?>">注册</a>
</div>
<?php } else { ?>
<a class="header_login_btn" href="" title="快速发布" style="width:68px;" tabindex="-1"><span class="inside"><span class="header_post" >发布</span></span></a>
<a class="header_login_btn" tabindex="0" href="<?php echo site_url('message/index'); ?>" style="width:37px;"><span class="inside"><span class="header_message header_message_none">消息<em class="core_num J_hm_num">0</em></span></span></a>
<div class="header_login_later"> <a aria-haspopup="J_head_user_menu" aria-label="个人功能菜单,按pagedown打开菜单,tab键导航,esc键关闭" tabindex="0" rel="nofollow" href="http://localhost/test/phpwind90rc/index.php?m=space&uid=1" id="J_head_user_a" class="username" title="admin">admin<em class="core_arrow"></em></a>
	<div class="fl">
		<div id="J_head_user_menu" role="menu" class="header_menu_wrap my_menu_wrap" style="display:none;">
			<div class="header_menu my_menu cc">
				<div class="header_menu_hd" id="J_head_pl_user"><span title="admin" class="username">admin</span><em class="core_arrow_up"></em></div>
				<ul class="ct cc">
					<li><a href="index.php?m=space"><em class="icon_space"></em>我的空间</a></li>
					<li><a href="index.php?m=my&c=fresh"><em class="icon_fresh"></em>我的关注</a></li>
					<li><a href="index.php?m=bbs&c=forum&a=my"><em class="icon_forum"></em>我的版块</a></li>
					<li><a href="index.php?m=my&c=article"><em class="icon_article"></em>我的帖子</a></li>
					<li><a href="index.php?m=vote&c=my"><em class="icon_vote"></em>我的投票</a></li>
					<li><a href="index.php?m=task"><em class="icon_task"></em>我的任务</a></li>
					<li><a href="index.php?m=medal"><em class="icon_medal"></em>我的勋章</a></li>
					<li><a href="<?php echo site_url('manage/home/index'); ?>" rel="nofollow"><em class="icon_system"></em>前台管理</a></li>
					<li><a href="<?php echo site_url('admin/home/index'); ?>" target="_blank" rel="nofollow"><em class="icon_admin"></em>系统后台</a></li>
				</ul>
				<ul class="ft cc">
					<li><a href="http://localhost/test/phpwind90rc/index.php?m=profile"><em class="icon_profile"></em>个人设置</a></li>
					<li><a href="<?php echo site_url('user/logout'); ?>" rel="nofollow"><em class="icon_quit"></em>退出</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>
<?php } ?>